home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: garlans@usa.pipeline.com(White Shade)
- Newsgroups: comp.lang.c++
- Subject: QUESTION:Random Numbers, etc
- Date: 24 Feb 1996 19:39:56 GMT
- Organization: Pipeline USA
- Message-ID: <4gnpic$j5s@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe10.h1.usa.pipeline.com
- X-PipeUser: garlans
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (White Shade)
- X-Newsreader: Pipeline USA v3.4.0
-
- Hi, I'm a bit new to C/C++ programming. I have Microsoft Visual C++ 1.52,
- and I'm trying to convert a few of my Basic programs to C so they'll run a
- lot faster. I need to know how to get a random number starting from one and
- ending at a certain number, like Basics a=int(rnd(1)*#)+1 or something...
-
- Oh yeah, I can't check this group very often, so could you send replies to
- my e-mail address, GARLANS@USA.PIPELINE.COM ? Thanks...
-
- Thanks in advance!
-
- Bye! :)
-